<template>
  <div class="newslist">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="行业新闻" name="first"><ul><li>123</li><li>123</li><li>123</li></ul></el-tab-pane>
      <el-tab-pane label="酒店新闻" name="second">配置管理</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  data() {
      return {
        activeName: 'second'
      };
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    },
}
</script>

<style scoped>
.newslist{
  width: 1000px;
  height: 100%;
  padding: 30px;
}
</style>